package com.example.demo01.mapper;

import com.example.demo01.bean.Book;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;

/**
 * @Author liuyuan
 * @Date 2022/7/15 3:54 PM
 * @Version 1.0
 */
@Mapper
public interface BookMapper {
    ArrayList<Book> list();

    ArrayList<Book> queryByName(String name);

    ArrayList<Book> queryByBook(Book book);

}
